<%=start_form_tag :action => "update"%>
  <p>
    <label>Title</lable><br />
	<%=text_field_tag "title", @preferences["title"] %>	
  </p>

  <p>
    <label>Subtitle</lable><br />
	<%=text_field_tag "subtitle", @preferences["subtitle"] %>	
  </p>

  <p>
    <label>What URL Does Your Site Use? (be sure to include the trailing slash!!!)</lable><br />
	<%=text_field_tag "url", @preferences["url"] %>	
  </p>

  <p>
    <label>Should story links open a new browser window?</lable><br />
	<%=check_box_tag "links_open_new_window", 1, @preferences["links_open_new_window"] %>	
  </p>

  <p>
    <label>Where should we send admin alerts to?</lable><br />
	<%=text_field_tag "admin_email", @preferences["admin_email"] %>	
  </p>

  <p>
    <label>What address should email be sent from?</lable><br />
	<%=text_field_tag "from_email", @preferences["from_email"] %>	
  </p>


  <%=submit_tag "update"%>
<%=end_form_tag%>